package com.htudata.live.mapper;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LiveMapper {
  JSONArray getAllDataType();
  
  List<Map<String, Object>> selectDataTypeListAndFlowList();
  
  List<Map<String, Object>> selectFlowsAndNodesByFlowId(JSONObject paramJSONObject);
  
  List<Map<String, Object>> selectFlowsAndNodesByFlowIdV2(JSONObject paramJSONObject);
  
  List<Map<String, Object>> selectAllFlowsAndNodesByFlowId(JSONObject paramJSONObject);
  
  List<Map<String, Object>> selectLinksByFlowId(@Param("flowIdList") List<String> paramList);
  
  int deleteTempNodesByFlowId(@Param("flowId") String paramString);
  
  JSONArray countNodeProblem();
  
  JSONArray countFlowItem();
  
  JSONArray selectVirtualNodesByNodeId(JSONObject paramJSONObject);
  
  JSONObject selectVirtualStationCountByNodeId(@Param("nodeId") String paramString, @Param("nodeTypeId") int paramInt);
  
  JSONArray selectVirtualStationList(@Param("nodeTypeId") int paramInt1, @Param("nodeId") String paramString1, @Param("areaCode") String paramString2, @Param("level") int paramInt2, @Param("userIds") List<Long> paramList);
  
  JSONObject selectGlobalConf();
  
  JSONArray getAreaList(@Param("prov") String paramString);
  
  JSONArray getStatisVirtualStation(@Param("nodeTypeId") int paramInt1, @Param("nodeId") String paramString1, @Param("areaCode") String paramString2, @Param("level") int paramInt2, @Param("userIds") List<Long> paramList, @Param("prov") String paramString3);
}
